<?php
namespace Home\Model;
use Think\Model;
class StudentModel extends Model {
	protected $tablePrefix = 'sc_';  
    protected $_validate = array(
        array('phone','require','该学员已经存在，请不要重新添加!',1,'unique',3) //默认情况下用正则进行验证
    );
}